<strong>User: </strong>{{user-username}}<br />

<table>
    <tr>
        <th>Resource</th>
        <th>allowed?</th>
    </tr>
{: $accessManager = 'admin' | {module} | -getAccessManager }
{@ foreach ({resources} as $key => $resource) : }
    <tr>
        <td>{$key}</td>
        <td>{@ if ({$accessManager.isAllowed}({user-username}, $resource)):}YES{@ else:}NO{@ endif}</td>
    </tr>
{@ endforeach}
</table>
